<%@ Page SmartNavigation="False" Language="C#"  enableViewState = "false" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="Galleries" Namespace="CommunityServer.Galleries.Controls" Assembly="CommunityServer.Galleries" %>
<%@ Import Namespace="CommunityServer.Galleries.Components" %>
<%@ Import Namespace="CommunityServer.Components" %>

<CS:MPContainer runat="server" id="MPContainer" ThemeMasterFile="GalleryMaster.ascx" >
    <CS:MPContent id="bcr" runat="server">
		<Galleries:AggregateGalleryListing runat="server" ItemsPerPage="99999" />
	</CS:MPContent>

	<CS:MPContent id="rcr" runat="server" >
		<div class="CommonSidebar">
			<div class="CommonSidebarArea">
				<h4 class="CommonSidebarHeader">
					<cs:ResourceControl ResourceName="PopularTags" runat="server" ID="Resourcecontrol1" NAME="Resourcecontrol1"/>
				</h4>
				<div class="CommonSidebarContent">
					<CS:TagCloud ApplicationType="gallery" TagCloudCssClasses="CommonTag6,CommonTag5,CommonTag4,CommonTag3,CommonTag2,CommonTag1" runat="server" id="TagCloud" MaximumNumberOfTags="25" ShowTagCounts="false" IgnoreFilterTags="true" CssClass="CommonSidebarTagCloud" />
				</div>
				<div class="CommonSidebarFooter">
					<a href="<%=SiteUrls.Instance().TagsHome %>"><cs:ResourceControl ResourceName="ViewAllTags" runat="server" ID="Resourcecontrol2" NAME="Resourcecontrol2"/></a>
				</div>
			</div>
			
			<Galleries:AggregatePortalPictureListing Count="5" SortBy="ThreadDate" runat="server" />
		</div>
	</CS:MPContent>
</CS:MPContainer>